{%include file="m.index.header.tpl.php"%}
<!--主体部分-->
<div class="container" style="margin-top:70px;">
  <div class="row" style="margin-right:10%;">
  </div>
  <!--row  end--> 
  <div class="row" style="margin-top:10px;">
    <form name="myform" action="" method="get">	
      <div class="col-sm-12 distance hierarchy" >
        <div class="form-group hierarchy" >
          <label for="" class="col-sm-2 control-label">周次:</label>
          <div class="col-sm-10">
            <select class="form-control" name="plan_week">	
			{%foreach from=$week_lists key=key item=value%}
				 <option {%if $value.plan_week==$plan_week %}selected="selected"{%/if%}>{%$value.plan_week%}</option>
			{%/foreach%}                                    
			</select>
          </div>
        </div>
      </div>
      <div class="col-xs-12 distance" >
      <div class="form-group  text-center" style="padding-top:0px;">
	  <input type="hidden" name="a" value="arrange.planlist">
      <button type="submit" class="btn btn-success absolutely ">
      搜索
      </button>
      </div>
      </div>
    </form>
  </div>
  <!--row  end-->
  
  <div class="row xueqi">
    <div class="col-xs-12  text-center"  >
      <h5>学校{%$semester_data.semester_name%}第{%$week_num%}周工作安排</h5>
    </div>
	{%foreach from=$plan_lists key=key item=value%}
    <table class="table table-striped table-bordered text-center"  id="middles">
      <tr>
        <td>星期</td>
        <td>{%$value.plan_day%}</td>
      </tr>
      <tr>
        <td>日期</td>
        <td>{%$value.start_time%}</td>
      </tr>
      <tr>
        <td>主要内容</td>
        <td><p>{%$value.plan_content%}</p></td>
      </tr>
      <tr>
        <td>负责部门</td>
        <td>
			{%foreach from=$value.department_name key=k item=v%}
			{%$v%}
			{%/foreach%}
			{%$value.plan_rests%}
		</td>
      </tr>
      <tr>
        <td>备注</td>
        <td>{%$value.plan_remark%}</td>
      </tr>
    </table>

{%/foreach%}   
  </div>
</div>
<!--container  end--> 
<!--主体部分  end--> 
{%include file="m.index.footer.tpl.php"%}